## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-

def build(bld):
    module = bld.create_ns3_module('olsr', ['internet-stack', 'contrib'])
    module.includes = '.'
    module.source = [
        'olsr-header.cc',
        'olsr-state.cc',
        'olsr-routing-protocol.cc',
        'test/regression-test-suite.cc',
        'test/hello-regression-test.cc',
        'test/tc-regression-test.cc',
        'test/bug780-test.cc',
        ]

    headers = bld.new_task_gen('ns3header')
    headers.module = 'olsr'
    headers.source = [
        'olsr-routing-protocol.h',
        'olsr-header.h',
        'olsr-state.h',
        'olsr-repositories.h',
        ]

